import time
import sys

# from PyQt5.QtWidgets import QApplication
from log import logger

def main():
    # time.sleep(30)
    from test_fenglun import Fenglun
    try:
        engine = Fenglun() #
        engine.start()  # 启动相机，plc，算法，服务
    except Exception as e:
        logger.error(e)

    return 0


if __name__ == '__main__':
    main()